package sample.service.impl;

import sample.service.AppService;
import sample.service.LocalService;
import sample.service.MsService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created on 2020/6/29
 */
@Service("appService")
public class AppServiceImpl implements AppService {

	@Autowired
	private MsService msService;
	@Autowired
	private LocalService localService;

	@Override
	public String doSomething() {
		String s = msService.getSomethingA();

		localService.doSomethingLocal();

		msService.doSomethingA();

		return s;
	}
}
